<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/config/c.tld" prefix="c"%>
<%@ taglib prefix="fn" uri="/WEB-INF/config/fn.tld"%>
<%@ taglib prefix="fmt" uri="/WEB-INF/config/fmt.tld"%>
<%@ taglib uri="/WEB-INF/config/Pagination.tld" prefix="p"%>
<!DOCTYPE html>
<html>
<head>
    <title>
    	<c:if test="${lang=='zh_CN'}">
			品牌活动
		</c:if>
		<c:if test="${lang=='en_US'}">
			Brand Activity
		</c:if>
		<c:if test="${lang=='zh_TW'}">
			品牌活動
		</c:if>
    </title>
</head>
<body>

	<div id="page-content" class="archive-page container">
		<div class="row">
			<div class="col-md-12">
				<div class="pageTit">
					<div class="dian"></div>
						<div class="xiax">品种推介</div>
							<span class="hei">
						<a href="index.html" style="color: black">
							首页
						</a>
						&nbsp;-&nbsp;
						品种推介
					</span>
					</div>
					<div class="box-content">
						<div id="contact_form">
							<form method="post" action="brandActivity/ret.html" id="myform">
							<c:forEach items="${paging.data}" var="data">
								<div class="col-md-6" style="margin-top: 10px;">
									<a href="brandActivity/view/${data.id}.html">
										<div class="zoom-container">
											<img src="${data.image}"/>
										</div>
									</a>
									<br/>

									<a href="brandActivity/view/${data.id}.html">
											${data.cnName}
									</a>
								</div>
							</c:forEach>
							<div style="clear: both;width: 100%">
								<center>
									<p:outpage pageSize="${paging.pageSize}"
											   totalPage="${paging.totalPage}"
											   curPage="${paging.curPage}" />
								</center>
							</div>
							</form>
							</div>
						</div>
					</div>
				</div>
				<!-- <div id="sidebar" class="col-md-4">
					<iframe src="index/right.html" width="100%" height="700px" name="rightIFrame"  scrolling="no" frameborder="no"></iframe>
				</div> -->
			</div>
		</div>
	</div>

</body>
</html>
